package buaa.qel.rpc.common.util;

import java.util.concurrent.atomic.AtomicInteger;

public class ServiceKeyMaker {
    public static final String SERVICE_KEY_SALT = "B%U%A%A";
    public static String makeServiceKey(String interfaceName, String serviceName) {
        String serviceKey = interfaceName;
        if (serviceName != null && serviceName.trim().length() > 0) {
            serviceKey += SERVICE_KEY_SALT.concat(serviceName);
        }
        return serviceKey;
    }
}
